@charset 'utf-8';

html,
body {
    height: 100%;
    background-color: #000;
}

.root {
    height: 100%;

    .sider {
        width: 375px;
        height: 100%;
        background-image: url(../img/zhu1.jpg);
        background-size: cover;
        background-position: 50%;
        position: fixed;
        left: 0;
        top: 0;

        img {
            display: inline-block;
            height: 100%;
            width: 100%;
            vertical-align: top;
            margin-right: 10px;
        }
    }

    .mi {
        width: 50px;
        height: 50px;
        float: left;
        margin-right: 20px;

        img {
            width: 100%;
            height: 100%;
        }
    }

    .content {
        margin-left: 375px;

        .header {
            padding: 20px;

            .title {
                height: 40px;
                font-size: 24px;
                line-height: 40px;
                font-weight: 500;
                // color: #333;
                color: #fff;
                float: left;
            }

            .nav {
                float: right;
                font-size: 14px;
                line-height: 40px;
                color: #838383;

                a {
                    color: #838383;
                    margin: 0 10px;
                }

                span {
                    margin: 0 10px;
                }

                .nav-item {
                    padding-right: 20px;
                    margin: 0 10px;
                    display: inline-block;
                    position: relative;
                    cursor: pointer;

                    &::after {
                        content: '';
                        display: block;
                        position: absolute;
                        top: 12px;
                        right: 0;
                        width: 0px;
                        height: 0px;
                        border: 5px solid transparent;
                        border-bottom-color: #838383;
                        transition: transform 0.3s;
                        transform-origin: 5px 8px;
                    }

                    &:hover {
                        &::after {
                            transform: rotateZ(180deg);
                        }
                    }
                }
            }
        }
    }

    .main {
        padding-top: 20px;

        .card {
            width: 450px;
            height: 800px;
            margin: 0 auto 80px;
            border-radius: 5px;
            box-shadow: 0 20px 50px 0 hsla(0, 0%, 64%, 0.1);
            padding: 40px 45px;
            box-sizing: border-box;

            .tab {
                display: inline-block;
                padding-bottom: 4px;
                margin-right: 20px;
                height: 41px;
                line-height: 41px;

                a {
                    color: #fff;
                    font-size: 22px;
                }
            }

            .active {
                a {
                    position: relative;
                    font-weight: 800;
                    color: orange;

                    &::after {
                        content: '';
                        position: absolute;
                        bottom: -8px;
                        left: 0;
                        width: 44px;
                        height: 4px;
                        border-radius: 2px;
                        background-color: #ff5c00;
                    }
                }
            }

            .from {
                width: 345px;
                padding: 20px 2px 0;
                box-sizing: border-box;

                .nation {
                    width: 100%;
                    height: 60px;
                    background-color: #f9f9f9;
                    border-radius: 5px;
                    position: relative;
                    cursor: pointer;

                    input {
                        width: 341px;
                        height: 60px;
                        border-radius: 5px;
                        font-size: 25px
                    }

                    .guo {
                        margin: 0 20px;
                        padding-top: 30px;
                    }

                    label {
                        position: absolute;
                        left: 20px;
                        top: 6px;
                        font-size: 12px;
                        color: #aaa;
                    }

                    span {
                        position: absolute;
                        top: 24px;
                        right: 20px;
                    }
                }

                .phone {
                    margin-top: 20px;
                    border-radius: 5px;
                    overflow: hidden;

                    .phonema {
                        float: left;
                        width: 40%;
                        border-radius: 0;
                    }
                }

                .number {
                    position: relative;
                    display: inline-block;
                    width: 60%;
                    height: 60px;
                    background-color: #f9f9f9;
                    padding: 30px 20px 10px;
                    box-sizing: border-box;

                    input {
                        background-color: #f9f9f9;
                        font-size: 17px;
                        width: 100%;
                    }

                    .pntext {
                        position: absolute;
                        left: 20px;
                        top: 15px;
                        color: #aaa;
                    }
                }

                .dx {
                    margin-top: 20px;
                    border-radius: 5px;
                    overflow: hidden;

                    .adornment {
                        float: right;
                        height: 60px;
                        width: 40%;
                        line-height: 1.5;
                        background-color: #f9f9f9;
                        text-align: center;

                        button {
                            cursor: pointer;
                            display: inline-block;
                            border: none;
                            color: #ff5c00;
                            background-color: #f9f9f9;
                            font-size: 16px;
                            padding-top: 18px;
                        }
                    }
                }

                .mi-button {
                    border: none;
                    background-color: #ff5c00;
                    color: #fff;
                    text-align: center;
                    height: 60px;
                    width: 100%;
                    margin: 20px 0 10px;
                    border-radius: 5px;
                    font-size: 20px;
                    opacity: 0.4;
                    cursor: pointer;
                }

                .mi-actions {
                    margin-bottom: 10px;

                    a {
                        color: #ff5c00;
                    }
                }

                .mi-accept {
                    text-align: center;
                    padding-bottom: 10px;

                    input {
                        width: 20px;
                        height: 20px;
                        border: 1px #333 solid;
                        border-radius: 5px;
                        vertical-align: middle;
                    }

                    span {
                        padding: 0 4px;
                        font-size: 14px;
                        color: #aaa;
                        cursor: pointer;
                    }

                    a {
                        color: #333;
                    }
                }
            }
        }
    }
}